package com.baweiwei.ordersapi.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;
@FeignClient(value = "good-service")
public interface GoodFeign {

    @RequestMapping("/good/kuncun")
    public Map<String,Object> kuncun(@RequestParam Integer goodId, @RequestParam Integer num);
}
